<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>

<div id="head">
    <div class="c" id="c-head">
        <div>
            <a class="head-bar1" href="index.jsp" style="text-decoration: none">小米商城</a>
            <a class="head-bar1">MIUI</a>
            <a class="head-bar1">loT</a>
            <a class="head-bar1">云服务</a>
            <a class="head-bar1">天星数科</a>
            <a class="head-bar1">有品</a>
            <a class="head-bar1">小爱开放平台</a>
            <a class="head-bar1">企业团购</a>
            <a class="head-bar1">资质证照</a>
            <a class="head-bar1">协议规则</a>
            <a class="head-bar1" id="downloadapp">下载app</a>
            <a class="head-bar1">智能生活</a>
            <a class="head-bar1">Select Location</a>
        </div>
        <div id="c-shopping">
            <a href="goods_cart.jsp">
                <p class="shopping" id="gou">购物车</p>
                <img class="shopping" src="image/index/购物车-灰.png">
            </a>
        </div>

        <div>
            <a class="head-bar2">消息通知</a>
            <a href="./register.jsp" class="head-bar2"></a>
            <a href="#" class="head-bar2" onclick="confirmUser()">登录管理员</a>
        </div>
    </div>
    <!-- 二维码下载 -->
    <div id="download-image">
        <img src="./image/index/download.png">
        <P>小米商城APP</P>
    </div>
    <!-- 购物车提示 -->
    <div id="shoping-list">
        购物车中还没有商品，赶紧选购吧！
    </div>
</div>
</body>
<script>
    function confirmUser(){
        if (confirm("你确定要登录管理员吗？")){
            window.location.href="Administrator.jsp"
        }
    }
</script>
</html>
